package com.yby.mall.product.dao;

import com.yby.mall.product.dto.AttrAttrgroupRelationDto;
import com.yby.mall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 * 
 * @author yangbingying
 * @email 2771355658@qq.com
 * @date 2021-07-09 20:49:20
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    List<AttrAttrgroupRelationDto> attrRelationList(Long attrGroupId);

    void deleteAttrRelation(@Param("list") List<Map<String, Object>> list);

}
